@extends('layouts.template')

@section('title', '个人中心')

@section('header')
@endsection

@section('content')
    <script src="{{asset('dist/master/changePhone.js')}}"></script>
    <script>
        var redirectUrl = '{{$redirectUrl}}';
    </script>
    <div class="ziliao">
        <form id="form">
            {{csrf_field()}}
            <div class="ziliao_a mar02 mar03">
                <ul>
                    <li><span>原手机号码</span><p><i class="i02">{{$master->phone}}</i></p></li>
                    <li><span>新手机号码</span><p><input type="text" class="inp02" placeholder="输入新手机号码" name="phoneNum"></p></li>
                    <li><span>验证码</span><p>
                            <input type="text" class="inp03" placeholder="输入验证码" name="verifyCode">
                            <a class="but06" @click="sendSmsVerify">发送验证码</a>
                        </p></li>
                </ul>
            </div>
            <a class="but07" @click="submit">确认修改</a>
        </form>
    </div>
@endsection